package itbour.onetouchshow.bean;

import java.io.Serializable;
import java.util.List;

public class EffectsBean implements Serializable {
    /**
     * ct : 1602
     * assetId : 1
     * start : 0
     * duration : 7
     * params : {"r":1,"g":0.5,"b":0}
     */


    private String icon;
    private int id;
    private String name;
    private int ct;
    // private int assetId;
    private int start;
    private int duration;
    private ParamsBean params;

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCt() {
        return ct;
    }

    public void setCt(int ct) {
        this.ct = ct;
    }

//    public int getAssetId() {
//        return assetId;
//    }
//
//    public void setAssetId(int assetId) {
//        this.assetId = assetId;
//    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public ParamsBean getParams() {
        return params;
    }

    public void setParams(ParamsBean params) {
        this.params = params;
    }

    public static class ParamsBean implements Serializable {
        /**
         * a : [0,0,0,1]
         * b : [0.239,0.469,0.091,0]
         * g : [0.299,0.587,0.114,0]
         * r : [0.358,0.704,0.137,0]
         * intensity : 1
         */

        private double intensity;
        private List<Integer> a;
        private List<Double> b;
        private List<Double> g;
        private List<Double> r;

        private List<Double> color;

        public List<Double> getColor() {
            return color;
        }

        public void setColor(List<Double> color) {
            this.color = color;
        }

        //
//
//        public List<Integer> getColor() {
//            return color;
//        }
//
//        public void setColor(List<Integer> color) {
//            this.color = color;
//        }

        public double getIntensity() {

            return intensity;
        }

        public void setIntensity(double intensity) {
            this.intensity = intensity;
        }

        public List<Integer> getA() {
            return a;
        }

        public void setA(List<Integer> a) {
            this.a = a;
        }

        public List<Double> getB() {
            return b;
        }

        public void setB(List<Double> b) {
            this.b = b;
        }

        public List<Double> getG() {
            return g;
        }

        public void setG(List<Double> g) {
            this.g = g;
        }

        public List<Double> getR() {
            return r;
        }

        public void setR(List<Double> r) {
            this.r = r;
        }


    }
}
